<%@ page import="java.util.Map" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="java.util.Arrays" %><%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022/7/1
  Time: 11:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      Map<String, String[]> parameterMap = request.getParameterMap();
      Iterator<Map.Entry<String, String[]>> ir = parameterMap.entrySet().iterator();
      while (ir.hasNext()){
          Map.Entry<String, String[]> next = ir.next();
          out.print(next.getKey()+","+ Arrays.toString(next.getValue()));
          out.print("<hr/>");
      }
  %>
</body>
</html>
